package com.zzj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zzj.entity.Post;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzj.model.dto.post.PostCreateDto;
import com.zzj.model.dto.post.PostUpdateDto;
import com.zzj.model.dto.QueryListDto;

/**
 * <p>
 * 文章表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-07-17
 */
public interface IPostService extends IService<Post> {
    IPage<Post> queryList(QueryListDto in);
    Post create(PostCreateDto in);

    Post update(PostUpdateDto in);
}
